package com.csoa.community.net;

import org.json.chinaface.JSONException;


public interface DataProcessor {
	void read(String jsonString) throws ErrorMsg, JSONException;
	
	int SERVER_RET_ERROR=1001000;
	int SERVER_RET_NO_DATA=1;
	
	//王三军
	public String LOGIN_METHOD = "GetCurrUser";
	
	public String OFFICIAL_DOC_TO_BE_READ_METHOD = "GetArchivesList";
	
	public String OFFICIAL_DOC_HAVE_READ_METHOD = "GetArchivesReadList";
	
	public String OFFICIAL_DOC_DETAIL_METHOD = "GetArchivesInfoByID";
	
	public String OFFICIAL_DOC_ATTACH_METHOD = "GetAttachmentByRID";
	
	public String OFFICIAL_DOC_ATTACH_LIST_METHOD = "GetDocumentAttachList";
	
	public String OFFICIAL_DOC_COMMON_WORD_METHOD = "GetCommonWordList";
	
	public String OFFICIAL_DOC_DIRECT_FORWARD_METHOD = "GetFileMgrName";
	
	public String OFFICIAL_DOC_DETAIL_SUBMIT_TO_BE_READ_METHOD = "GetAddArchives";
	
	public String OFFICIAL_DOC_DETAIL_SUBMIT_HAVE_READ_METHOD = "GetAddArchivesRead";
	
	public String OFFICIAL_DOC_IS_MEETING_METHOD = "GetIsMeetingByID";
	
	public String OFFICIAL_DOC_DOWNLOAD_ATTACH_METHOD = "GetAttachmentInfoByRID";
	
	public String OFFICIAL_DOC_APPROVAL_METHOD = "GetReplyOpinion";
	
    public String OFFICIAL_DOC_SEARCH_BE_READ_METHOD = "GetSearchArchivesList ";
	
	public String OFFICIAL_DOC_SEARCH_HAVE_READ_METHOD = "GetSearchArchivesReadList";
	
	
	
	
	//邮件
	public String EMAIL_LIST_METHOD = "GetMailList";
	public String EMAIL_DETAIL_METHOD = "GetMailInfo";
	public String EMAIL_ATTACH_LIST_METHOD = "GetMailAttachment";
	public String EMAIL_DOWNLOAD_ATTACH_METHOD = "GetMailAttachment";
	public String EMAIL_UPADTE_READ_STATE_METHOD = "UpdateMailFlag";
	
	public String method_tongzhi_attach_list = "GetDocumentAttachList";
	public String method_tongzhi_attach_info = "GetDocumentAttachInfo";
	
//	public String OFFICIAL_DOC_DOWNLOAD_ATTACH_METHOD = "GetDocumentAttachInfo";
	
	
	//周乃特
	/**
	 * 联系人列表获取方法
	 */
	public String method_linkman = "GetUserList";
	
	/**
	 * 以分组的方式获取联系人列表
	 */
	public String method_linkman_group = "GetGroupUserList";
	
	/**
	 * 通知公告首页列表获取方法
	 */
	public String method_tongzhi = "GetDocumentList1";
	/**
	 * 通知公告列表获取方法
	 */
	public String method_tongzhi_list = "GetDocumentPageList1";
	/**
	 * 通知公告详情获取方法
	 */
	public String method_tongzhi_xq = "GetDocumentInfo";
	/**
	 * 工作动态首页列表获取方法
	 */
	public String method_gongzuo = "GetDocumentList2";
	/**
	 * 工作动态列表获取方法
	 */
	public String method_gongzuo_list = "GetDocumentPageList2";
	/**
	 * 工作动态详情获取方法
	 */
	public String method_gongzuo_xq = "GetDocumentInfo";
	/**
	 * 部门周记首页列表获取方法
	 */
	public String method_zhouji = "GetDocumentList3";
	/**
	 * 部门周记列表获取方法
	 */
	public String method_zhouji_list = "GetDocumentPageList3";
	/**
	 * 部门周记详情获取方法
	 */
	public String method_zhouji_xq = "GetDocumentInfo";
	
	
	/**
	 * 日程列表获取方法
	 */
	public String method_richeng_list = "GetSchList";
	/**
	 * 日程详情获取方法
	 */
	public String method_richeng_xq = "GetSchInfoByEventID";


}
